<?php 
$show_validator = true;
include TMPL_PATH.'public/header.phtml';
?>
<div class="subnav">
    <div class="content-menu ib-a blue line-x">
        </span><a href='javascript:;' class="on"><em>订单日志</em></a></div>
</div>

<style type='text/css'>
.table_form tbody td{ border: 1px solid #EEEEEE;}
.division {
    background: none repeat scroll 0 0 #FFFFFF;
    border-color: #CCCCCC #BEC6CE #BEC6CE #CCCCCC;
    border-style: solid;
    border-width: 1px 2px 2px 1px;
    line-height: 150%;
    white-space: normal;
}
.division table {
    margin: 0;
    padding: 0;
}
.division th, .division td {
    border-color: #FFFFFF #DBE2E7 #DDDDDD #FFFFFF;
    border-left: 1px solid #FFFFFF;
    border-right: 1px solid #DBE2E7;
    border-style: solid;
    border-width: 1px;
    padding: 5px;
    vertical-align: top;
}
.division th {
    background: none repeat scroll 0 0 #E2E8EB;
    border-right: 1px solid #CCCCCC;
    font-size: 14px;
    text-align: right;
    white-space: nowrap;
    width: 140px;
}
.gridlist th{
	text-align:center;
	font-weight: bold;
	font-size: 12px;
}
.order_th{font-size: 14px; color: rgb(0, 0, 0); font-weight: bold; margin: 10px;overflow:hidden;}
</style>

<div class="pad-10" style="padding-top:0px;">

<div class="bk15"></div>
<div id="div_setting_5" class="contentList division pad-10">
	<table width="100%" cellspacing="0" cellpadding="0" border="0" class="gridlist"> 
		<thead>
		 <tr>
		  <th style="width:50px;">操作者</th>
		  <th style="width:150px;">操作时间</th>
		  <th style="width:50px;">订单状态</th>
		  <th style="width:50px;">支付状态</th>
		  <th style="width:100px;">配送状态</th>
		  <th style="width:500px;">备注 <?php echo $order['payOrderNum'] ? ' &nbsp;<font color="red">支付流水号：(' .$order['payOrderNum'].')</font>' : '' ?></th>
		 </tr> 
		</thead> 
		<tbody>
		<?php 
			if(isset($order['logs']) && $order['logs']):
				foreach ($order['logs'] as $log):
		?>
		  <tr>
		   <td align="center"><?php echo $log['action_name'];?></td> 
		   <td align="center"><?php echo date('Y-m-d H:i:s', $log['action_time']);?></td> 
		   <td align="center"><?php echo OrderModel::$orderStatusCn[$log['order_status']];?></td> 
		   <td align="center"><?php echo OrderModel::$paymentStatus[$log['payment_status']];?></td> 
		   <td align="center"><?php echo $log['shipping_status']==99 ? '配货中' : OrderModel::$shippingStatus[$log['shipping_status']];?></td> 
		   <td><?php echo $log['action_notice'];?></td> 
		  </tr>
		<?php 
				endforeach;
			endif;
		?>
		</tbody> 
	</table>
</div>
</div>
</body>
</html>

